package com.symc.his.api.doctor;

import com.symc.his.api.base.BaseResponse;
import com.symc.his.api.doctor.dto.req.MedicalOrderSaveInspectReqDTO;
import com.symc.his.api.doctor.dto.resp.MedicalOrderRespDTO;
import java.util.List;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @CreateTime: 2023/4/22 22:06
 * @Version:
 * @Since: 1.8
 * @Author: 辛凤文 forward.seen@foxmail.com
 */
public interface MedicalOrderService {
    /**
     * getMedicalOrderListByVisitedRecordId
     * @param visitedRecordId
     * @return
     */
    @GetMapping("/getMedicalOrderListByVisitedRecordId")
    BaseResponse<MedicalOrderRespDTO> getMedicalOrderListByVisitedRecordId(@RequestParam String visitedRecordId);

    /**
     * 保存检查医嘱
     * @param visitRecordId
     * @param inspectTermList
     * @return
     */
    @PostMapping("/saveInspectMedicalOrder")
    BaseResponse saveInspectMedicalOrder(@RequestParam String visitRecordId, @RequestBody MedicalOrderSaveInspectReqDTO inspectTermList);
}